package com.example.bobo.yuejian322.Interfa;

import com.example.bobo.yuejian322.bean.Peixun;
import com.example.bobo.yuejian322.bean.PeixunList;
import com.example.bobo.yuejian322.bean.TrainDetial;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by BOBO on 2017/10/12.
 */

public interface PeixunSeverice {

    @GET("lists/mod/train")
    Call<List<Peixun>> peixunList(@Query("SessionID") String SessionID,
                                  @Query("page") int page,
                                  @Query("mod") String mod,
                                  @Query("degree") int Degree

    );


    @GET("lists/mod/train")
    Call<List<Peixun>> trainList(@Query("SessionID") String SessionID,
                                 @Query("page") int page,
                                 @Query("mod") String mod


    );


    @GET("get/mod/train")
    Call<TrainDetial> traindetial(@Query("SessionID") String SessionID,
                                  @Query("id") String id,
                                  @Query("mod") String mod


    );


}
